<HTML>
<HEAD>
<TITLE>JavaScript Source Code 2002:  Form Scripts</TITLE>
<META HTTP-EQUIV="JavaScript Source Code 2002" CONTENT="no-cache">
<META NAME="date" CONTENT="2000-09-09">
<META NAME="channel" CONTENT="Web Developer">
<META NAME="author" CONTENT="JavaScript Source Code 2002">
<META NAME="section" CONTENT="Forms">
<META NAME="description" CONTENT="JavaScript Forms -- These scripts all deal with Javascript forms.  I'll show you some really neat forms that keep you from receiving bogus information as well as others that are just fun to play with.">
<meta name="keywords" content="form validation required fields swap entries date pulldown menu mailing list email selection validation cookie validation guestbook validation">
<meta name="ROBOTS" content="ALL">
<meta name="title" content="JavaScript Source Code 2002 - Form Scripts">
<meta name="subject" content="JavaScript">
<LINK REL="stylesheet" href="../styles/jsstyles.css" /styles/jsstyles.css" type="text/css">
</HEAD>

<BODY>

<BR>

</CENTER>

<P CLASS="listingtxt">
These scripts all deal with Javascript forms.  I'll show you some really neat forms that keep you from receiving bogus information as well as others that are just fun to play with (test personal info).  As always, we're here if you have any questions or comments.  
<hr noshade size=5 class="listing"></P>

<!--content_start-->

<P CLASS="listingtxt">
<b>Title:</b> <a name="Agree_Before_Entry" href="agree-before-entry.html" /forms/agree-before-entry.html">Agree Before Entry</a><br><b>Details:</b> 1.12 KB * Uploaded October 28 1999<br><b>Description:</b>  JavaScript will only let you enter your name in this form if you indicate you agree to the terms by first clicking the I Agree radio button.  If you agree, you can enter your name.  But, if you disagree, you will not be able to enter or edit your name.  When you disagree, the box is 'locked.'  Useful if you require your visitors to accept a disclaimer before downloading software or visiting a section of your members-only site.</P><P CLASS="listingalign" align=right>[ <a href="agree-before-entry.html#source" /forms/agree-before-entry.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="All_Lower_Case" href="all-lower-case.html" /forms/all-lower-case.html">All Lower Case</a><br><b>Details:</b> 0.55 KB * Uploaded August 10 1999<br><b>Description:</b>  Converts a textbox entry to all lowercase letters as soon as they move to the next item in the form (or click the submit button).</P><P CLASS="listingalign" align=right>[ <a href="all-lower-case.html#source" /forms/all-lower-case.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="All_Upper_Case" href="all-upper-case.html" /forms/all-upper-case.html">All Upper Case</a><br><b>Details:</b> 0.55 KB * Uploaded August 9 1999<br><b>Description:</b>  Converts a textbox entry to all capital letters as soon as they move to the next item in the form (or click the submit button).</P><P CLASS="listingalign" align=right>[ <a href="all-upper-case.html#source" /forms/all-upper-case.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Auto_Month" href="auto-month.html" /forms/auto-month.html">Auto Month</a><br><b>Contributor:</b>  <a href="mailto:d1102@home.com">Don Demrow</a>  (<a href="mailto:d1102@home.com">d1102@home.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://resume.w3site.com/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://resume.w3site.com/'" tppabs="http://resume.w3site.com/">http://resume.w3site.com</a><br><b>Details:</b> 1.74 KB * Uploaded February 5 2001<br><b>Description:</b>  This pulldown menu will automatically adjust the range of months so that the current month is at the top.  The remaining months are placed in order after the current month.</P><P CLASS="listingalign" align=right>[ <a href="auto-month.html#source" /forms/auto-month.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="anywheremail" href="anywhere-mail.html" /forms/anywhere-mail.html">Anywhere Mail</a><BR><b>Details:</b> 1.02 KB * Uploaded August 4 1997<br><b>Description:</b>  Use this script to allow visitors to mail anyone, at any time.</P><P CLASS="listingalign" align=right>[ <a href="anywhere-mail.html#source" /forms/anywhere-mail.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Auto_Email_Link" href="auto-email-link.html" /forms/auto-email-link.html">Auto Email Link</a><br><b>Contributor:</b>  <a href="mailto:support@codelifter.com">CodeLifter.com</a>  (<a href="mailto:support@codelifter.com">support@codelifter.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.codelifter.com/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.codelifter.com/'" tppabs="http://www.codelifter.com/">http://www.codelifter.com</a><br><b>Details:</b> 1.69 KB * Uploaded February 21 2001<br><b>Description:</b>  Automatically opens a new e-mail using your default e-mail client and fills in the subject line and body with the address of the current web page.  Neat!</P><P CLASS="listingalign" align=right>[ <a href="auto-email-link.html#source" /forms/auto-email-link.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Auto_Tab" href="auto-tab.html" /forms/auto-tab.html">Auto Tab</a><br><b>Contributor:</b>  <a href="mailto:leo7278@hotmail.com">Cyanide_7</a>  (<a href="mailto:leo7278@hotmail.com">leo7278@hotmail.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www7.ewebcity.com/cyanide7  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www7.ewebcity.com/cyanide7'" tppabs="http://www7.ewebcity.com/cyanide7">http://www7.ewebcity.com/cyanide7</a><br><b>Details:</b> 1.68 KB * Uploaded April 21 2000<br><b>Description:</b>  Automatically sets focus to the next form element when the current form element's maxlength has been reached. This way, the user does not have to manually click in or tab to the next field.  This script is perfectly suited for constant-length strings such as a phone number or social security numbers.  Nice!</P><P CLASS="listingalign" align=right>[ <a href="auto-tab.html#source" /forms/auto-tab.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Auto_Year" href="auto-year.html" /forms/auto-year.html">Auto Year</a><br><b>Contributor:</b>  <a href="mailto:d1102@home.com">Don Demrow</a>  (<a href="mailto:d1102@home.com">d1102@home.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://resume.w3site.com/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://resume.w3site.com/'" tppabs="http://resume.w3site.com/">http://resume.w3site.com</a><br><b>Details:</b> 1.09 KB * Uploaded January 25 2001<br><b>Description:</b>  This pulldown menu will automatically adjust the range of years depending on the current year.  As an added bonus, the range is easily modified.  Awesome!</P><P CLASS="listingalign" align=right>[ <a href="auto-year.html#source" /forms/auto-year.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Basic Validation" href="basic-validation.html" /forms/basic-validation.html">Basic Validation</a><br><b>Contributor:</b>  wsabstract.com  <br><b>Details:</b> 1.41 KB * Uploaded April 14 1999<br><b>Description:</b>  The simplest way to require visitors to fill out certain fields is to us this script - just add the word "required" to each required field's name and your visitor must fill it out to submit the form!  Neat!</P><P CLASS="listingalign" align=right>[ <a href="basic-validation.html#source" /forms/basic-validation.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Block_Key_Press" href="block-key-press.html" /forms/block-key-press.html">Block Key Press</a><br><b>Contributor:</b>  <a href="mailto:wollard@flash.net">Jeremy Wollard</a>  (<a href="mailto:wollard@flash.net">wollard@flash.net</a>)<br><b>Details:</b> 0.99 KB * Uploaded July 13 2000<br><b>Description:</b>  (Internet Explorer Only)  Using the OnKeypress event, you can trap and prevent certain characters (repesented by ASCII decimal codes) from being entered in a form field.  Just look up the ASCII code for any other characters you wish to block and add it to the script.  Unfortunately, Netscape does not support this same functionality.</P><P CLASS="listingalign" align=right>[ <a href="block-key-press.html#source" /forms/block-key-press.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Check_All" href="../buttons/check-all.html" /buttons/check-all.html">Check All</a><br><b>Contributor:</b>  Nannette Thacker  <br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.shiningstar.net/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.shiningstar.net/'" tppabs="http://www.shiningstar.net/">http://www.shiningstar.net</a><br><b>Details:</b> 1.39 KB * Uploaded April 28 2000<br><b>Description:</b>  Dynamically checks and unchecks all the checkboxes in a form when a button is clicked.  Much easier than manually hard-coding the checkbox names, for sure.</P><P CLASS="listingalign" align=right>[ <a href="../buttons/check-all.html#source" /buttons/check-all.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Check_Entry" href="check-entry.html" /forms/check-entry.html">Check Entry</a><br><b>Details:</b> 0.95 KB * Uploaded September 8 1999<br><b>Description:</b>  Prevents the user from selecting a filename with a space (known to cause problems with some CGI-scripts). The visitor are informed that the field can not have spaces.  Of course, you could change the character it checks for as well as the invalid alert message to something else to suit your needs.  Nice!</P><P CLASS="listingalign" align=right>[ <a href="check-entry.html#source" /forms/check-entry.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Checkbox_Changer" href="checkbox-changer.html" /forms/checkbox-changer.html">Checkbox Changer</a><br><b>Details:</b> 1.94 KB * Uploaded July 27 1999<br><b>Description:</b>  Takes a series of known named checkboxes and checks or uncheck them all at once.  It can even change each checkbox to the opposite checked or not checked value.  Clever for loops!</P><P CLASS="listingalign" align=right>[ <a href="checkbox-changer.html#source" /forms/checkbox-changer.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Checkbox_Counter" href="checkbox-counter.html" /forms/checkbox-counter.html">Checkbox Counter</a><br><b>Contributor:</b>  <a href="mailto:alan@performantsystems.com">Alan Gruskoff</a>  (<a href="mailto:alan@performantsystems.com">alan@performantsystems.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.performantsystems.com/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.performantsystems.com/'" tppabs="http://www.performantsystems.com/">http://www.performantsystems.com/</a><br><b>Details:</b> 1.60 KB * Uploaded November 28 2000<br><b>Description:</b>  Easily count the number of checkboxes that have been selected.  Easy!</P><P CLASS="listingalign" align=right>[ <a href="checkbox-counter.html#source" /forms/checkbox-counter.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Checkbox_Text" href="checkbox-text.html" /forms/checkbox-text.html">Checkbox Text</a><br><b>Contributor:</b>  <a href="mailto:trs2005@yahoo.com">trs2005@yahoo.com</a>  (<a href="mailto:trs2005@yahoo.com">trs2005@yahoo.com</a>)<br><b>Details:</b> 0.97 KB * Uploaded July 20 2000<br><b>Description:</b>  (Internet Explorer Only) The user no longer needs to click precisely on the checkbox to check and uncheck it.  Clicking the text after a checkbox can do this just like windows programs.</P><P CLASS="listingalign" align=right>[ <a href="checkbox-text.html#source" /forms/checkbox-text.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Clean_CAPS" href="clean-caps.html" /forms/clean-caps.html">Clean CAPS</a><br><b>Contributor:</b>  Ronnie T. Moore, Editor  <br><b>Details:</b> 1.24 KB * Uploaded August 24 2000<br><b>Description:</b>  Keep users from typing in all caps, but still allow for capital letter strings for things like initials (JPC) or uppercase abbreviations (NASA or WWII).  You can easily change the number of capital letters allowed in a row after which the capital letterstring is converted to lowercase.</P><P CLASS="listingalign" align=right>[ <a href="clean-caps.html#source" /forms/clean-caps.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Commas" href="commas.html" /forms/commas.html">Commas</a><br><b>Contributor:</b>  <a href="mailto:mark_henwood@hotmail.com">Mark Henwood</a>  (<a href="mailto:mark_henwood@hotmail.com">mark_henwood@hotmail.com</a>)<br><b>Details:</b> 1.51 KB * Uploaded January 2 2001<br><b>Description:</b>  Quickly add commas to any numerical form input.  Great for displaying large numbers!</P><P CLASS="listingalign" align=right>[ <a href="commas.html#source" /forms/commas.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Confirmable_Order_Form" href="confirm-order.html" /forms/confirm-order.html">Confirmable Order Form</a><br><b>Details:</b> 4.79 KB * Uploaded July 15 1999<br><b>Description:</b>  JavaScript can take the contents of an HTML order form, process them, and display the order for verification even including the grand total!  When the user confirms the order by clicking the button, the order is emailed to you by using freedback.com's free form processor cgi script.  This script does take a bit of modification, but surely is worth it if you sell anything online.</P><P CLASS="listingalign" align=right>[ <a href="confirm-order-thanks.html#source" /forms/confirm-order-thanks.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Controlled_Boxes" href="controlled-boxes.html" /forms/controlled-boxes.html">Controlled Boxes</a><br><b>Contributor:</b>  Scott Waichler<br><b>Details:</b> 1.78 KB * Uploaded June 25 1999<br><b>Description:</b>  This script allows checkboxes to check and uncheck based on the selection in another checkbox.   If the ALL box is checked, all the other choices go unchecked.  If another choice is checked, then the ALL box goes unchecked.  Useful when constructing search forms, surveys, and more!</P><P CLASS="listingalign" align=right>[ <a href="controlled-boxes.html#source" /forms/controlled-boxes.html#source">Get Source Code</a> ]</font></div></td>
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Copy_Fields" href="copy-fields.html" /forms/copy-fields.html">Copy Fields</a><br><b>Details:</b> 8.75 KB * Uploaded November 10 1999<br><b>Description:</b>  Allows the user to click a checkbox on a form to duplicate information.  For example, they can copy their billing information into the shipping information fields (assuming they are the same) with one click!  Another useful timesaver for your visitors!</P><P CLASS="listingalign" align=right>[ <a href="copy-fields.html#source" /forms/copy-fields.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Copy_Name" href="copy-name.html" /forms/copy-name.html">Copy Name</a><br><b>Details:</b> 0.53 KB * Uploaded September 14 1999<br><b>Description:</b>  Allows the user to enter their name in the first field and have copies it to the second field for use as the User ID.  It occurs instantly when they click the next field or the submit button.  And, if the user tries to modify the second field, it is changed back to the value of the name field.  Definitely a good example of the onChange() event handler in use.</P><P CLASS="listingalign" align=right>[ <a href="copy-name.html#source" /forms/copy-name.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="country" href="country.html" /forms/country.html">Country Chooser</a><BR><b>Details:</b> 6.08 KB * Uploaded July 24 1998<br><b>Description:</b>  If you'd like to know where visitors to your site live, add this to your feedback forms.  They just choose a region, and the second menu changes appropriately, allowing them to choose their country.  (If they choose USA, it allows them to select their state) Neat!</P><P CLASS="listingalign" align=right>[ <a href="country.html#source" /forms/country.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Currency_Format" href="currency-format.html" /forms/currency-format.html">Currency Format</a><br><b>Contributor:</b>  <a href="mailto:leo7278@hotmail.com">Cyanide_7</a>  (<a href="mailto:leo7278@hotmail.com">leo7278@hotmail.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www7.ewebcity.com/cyanide7  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www7.ewebcity.com/cyanide7'" tppabs="http://www7.ewebcity.com/cyanide7">http://www7.ewebcity.com/cyanide7</a><br><b>Details:</b> 1.47 KB * Uploaded May 18 2000<br><b>Description:</b>  This script accepts a number or string and formats it like U.S. currency. Adds the dollar sign, rounds to two places past the decimal, adds place holding zeros, and commas where appropriate.  Occurs when the user clicks the button or when they finish entering the money amount (and click into the next field).</P><P CLASS="listingalign" align=right>[ <a href="currency-format.html#source" /forms/currency-format.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="openwindow" href="open-window.html" /forms/open-window.html">Customized Window</a><BR><b>Details:</b> 2.54 KB * Uploaded July 11 1997<br><b>Description:</b> Use Javascript to allow visitors to open a customized window.</P><P CLASS="listingalign" align=right>[ <a href="open-window.html#source" /forms/open-window.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="day-menu" href="day-menu.html" /forms/day-menu.html">Day Menu</a><BR><b>Details:</b> 1.20 KB * Uploaded October 4 1998<br><b>Description:</b>  Do you need your visitors to select a day from this month? Here's an excellent way to do so - they get a pulldown menu containing the entire month and the current day is already selected! Cool! </P><P CLASS="listingalign" align=right>[ <a href="day-menu.html#source" /forms/day-menu.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Decimals_Allowed" href="decimals-allowed.html" /forms/decimals-allowed.html">Decimals Allowed</a><br><b>Contributor:</b>  Fred Serry<br><b>Details:</b> 1.42 KB * Uploaded October 26 1999<br><b>Description:</b>  Allows the user to enter a number with up to 2 decimal places in a text box.  In other words, 99 is ok, 99.9 is ok, 99.99 is ok, but 99.999 is rejected.  You can easily change the number of decimal places that are permitted. (i.e. 1, 2, 3, etc.)  For the example, enter a number with up to 2 decimal places then try entering one with more than 2 decimal places.</P><P CLASS="listingalign" align=right>[ <a href="decimals-allowed.html#source" /forms/decimals-allowed.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Disable_Submit" href="disable-submit.html" /forms/disable-submit.html">Disable Submit</a><br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://dynamicdrive.com/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://dynamicdrive.com/'" tppabs="http://dynamicdrive.com/">http://dynamicdrive.com</a><br><b>Details:</b> 1.33 KB * Uploaded July 5 2000<br><b>Description:</b>  (Internet Explorer only)  When the form is submitted, any submit and reset buttons are disabled.  This prevents the user from submitting the form repeatedly, whether by accident or on purpose.  The form will just act normally for Netscape users.  Great!</P><P CLASS="listingalign" align=right>[ <a href="disable-submit.html#source" /forms/disable-submit.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Dynamic_Input" href="dynamic-input.html" /forms/dynamic-input.html">Dynamic Input</a><br><b>Contributor:</b>  Peter Hermus<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://come.to/speedpete  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://come.to/speedpete'" tppabs="http://come.to/speedpete">http://come.to/speedpete</a><br><b>Details:</b> 1.95 KB * Uploaded September 8 2000<br><b>Description:</b>  (Internet Explorer Only)  Offer a form with as many input boxes that the user selects.  After entering the number of boxes, the form is dynamically updated while the rest of the form remains untouched.</P><P CLASS="listingalign" align=right>[ <a href="dynamic-input.html#source" /forms/dynamic-input.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Dynamic_Table" href="dynamic-table.html" /forms/dynamic-table.html">Dynamic Table</a><br><b>Contributor:</b>  <a href="mailto:webmaster@maryjanebrown.net">Bob Simpson</a>  (<a href="mailto:webmaster@maryjanebrown.net">webmaster@maryjanebrown.net</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://maryjanebrown.net/webmaster  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://maryjanebrown.net/webmaster'" tppabs="http://maryjanebrown.net/webmaster">http://maryjanebrown.net/webmaster</a><br><b>Details:</b> 14.46 KB * Uploaded November 3 2000<br><b>Description:</b>  (Internet Explorer 5+ and Netscape 6+ Only)  Enter information into this dynamic table and see the power of W3C-DOM compatible browsers.  Absolutely Amazing!</P><P CLASS="listingalign" align=right>[ <a href="dynamic-table.html#source" /forms/dynamic-table.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Email_Address_Validation" href="check-email.html" /forms/check-email.html">Email Address Validation</a><br><b>Contributor:</b>  <a href="mailto:stamhankar@hotmail.com">Sandeep V. Tamhankar</a>  (<a href="mailto:stamhankar@hotmail.com">stamhankar@hotmail.com</a>)<br><b>Details:</b> 6.03 KB * Uploaded February 15 2000<br><b>Description:</b>  This is an e-mail address validation function.  It allows the usual user@domain syntax, but in addition allows user@[ip] format as well as "User with Spaces"@domain or [ip], all of which are legal syntax, according to W3C.  It also checks that the user hasn't done anything silly like having multiple @'s or continuous .'s in the address (e.g. jim@b@c.com and jim@c..b.co.uk).</P><P CLASS="listingalign" align=right>[ <a href="check-email.html#source" /forms/check-email.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Email Domain" href="email-domain.html" /forms/email-domain.html">Email Domain</a><br><b>Details:</b> 1.12 KB * Uploaded April 21 1999<br><b>Description:</b>  Takes an email address and returns just the domain - the stuff after the "@" sign.  We've put it together with a simple WHOIS query, neat!</P><P CLASS="listingalign" align=right>[ <a href="email-domain.html#source" /forms/email-domain.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Encode_Special_Characters" href="encode-special-characters.html" /forms/encode-special-characters.html">Encode Special Characters</a><br><b>Details:</b> 1.10 KB * Uploaded August 6 1999<br><b>Description:</b>  When submitting the form "GET" method, JavaScript can encode special characters with the escape() function.  Great!  (Enter a nickname or password with some special variables then click 'submit' to see the web address which contains the encoded (%xx) characters.)</P><P CLASS="listingalign" align=right>[ <a href="encode-special-characters.html#source" /forms/encode-special-characters.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="exitwindow" href="../navigation/exit-window.html" /navigation/exit-window.html">Exit Window</a><BR><b>Details:</b> 0.64 KB * Uploaded May 15 1998<br><b>Description:</b>  When a visitor leaves your page, JavaScript can automatically open a new window.  Use it to say "thanks for visiting", etc.  Very neat!  Check it out!</P><P CLASS="listingalign" align=right>[ <a href="../navigation/exit-window-source.html#source" /navigation/exit-window-source.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="External_JS" href="val-external-js.html" /forms/val-external-js.html">External JS</a><br><b>Contributor:</b>  <a href="mailto:jacob@hage.dk">Jacob Hage</a>  (<a href="mailto:jacob@hage.dk">jacob@hage.dk</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.hagedesign.dk/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.hagedesign.dk/'" tppabs="http://www.hagedesign.dk/">http://www.hagedesign.dk</a><br><b>Details:</b> 6.75 KB * Uploaded August 23 2000<br><b>Description:</b>  Using an external JavaScript file, simply define the rules for how each field should be validated and you're set.  Piece of cake!  And since it is it's own .js file, it's easy to use the code on every page of your site.  Currently only validates text, numbers and e-mail addresses.</P><P CLASS="listingalign" align=right>[ <a href="val-external-js.html#source" /forms/val-external-js.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Extract_Email_Addresses" href="extract-email.html" /forms/extract-email.html">Extract Email Addresses</a><br><b>Contributor:</b>  Ronnie T. Moore, Editor  <br><b>Details:</b> 1.19 KB * Uploaded September 1 2000<br><b>Description:</b>  Visitors sometimes include their email address inside the message field when they fill out forms. To deal with this, this script parses through the string and uses a Regular Expression to find then return a comma-separated list of the valid email addresses it finds. Easy!</P><P CLASS="listingalign" align=right>[ <a href="extract-email.html#source" /forms/extract-email.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Field_Explanation" href="field-explanation.html" /forms/field-explanation.html">Field Explanation</a><br><b>Details:</b> 2.29 KB * Uploaded January 11 2000<br><b>Description:</b>  Opens an explanation window to explain the various fields used in a form on your site when the help link is clicked.  You can easily explain various form fields will be used on your site, what type of input is required, or any other information you wish to share.  They may also type their entry in the popup window and it will be copied into the form.  Great!</P><P CLASS="listingalign" align=right>[ <a href="field-explanation.html#source" /forms/field-explanation.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Form_Focus" href="form-focus.html" /forms/form-focus.html">Form Focus</a><br><b>Contributor:</b>  <a href="mailto:twaks@yahoo.com">Tom Khoury</a>  (<a href="mailto:twaks@yahoo.com">twaks@yahoo.com</a>)<br><b>Details:</b> 1.15 KB * Uploaded October 12 2000<br><b>Description:</b>  Places the focus on the first editable field in a form on any web page.  Efficient!</P><P CLASS="listingalign" align=right>[ <a href="form-focus.html#source" /forms/form-focus.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Format_Input" href="format-input.html" /forms/format-input.html">Format Input</a><br><b>Contributor:</b>  <a href="mailto:toxic1@fcmail.com">Phillip Bryant</a>  (<a href="mailto:toxic1@fcmail.com">toxic1@fcmail.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://fly.to/toxic  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://fly.to/toxic'" tppabs="http://fly.to/toxic">http://fly.to/toxic</a><br><b>Details:</b> 2.99 KB * Uploaded December 29 2000<br><b>Description:</b>  Format the text case inside a form, reverse the text, or see the ASCII code behind the input.  Cool!</P><P CLASS="listingalign" align=right>[ <a href="format-input.html#source" /forms/format-input.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Form_Target_Formatting" href="form-target-formatting.html" /forms/form-target-formatting.html">Form Target Formatting</a><br><b>Contributor:</b>  <a href="mailto:leo7278@hotmail.com">Cyanide_7</a>  (<a href="mailto:leo7278@hotmail.com">leo7278@hotmail.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www7.ewebcity.com/cyanide7  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www7.ewebcity.com/cyanide7'" tppabs="http://www7.ewebcity.com/cyanide7">http://www7.ewebcity.com/cyanide7</a><br><b>Details:</b> 2.27 KB * Uploaded April 11 2000<br><b>Description:</b>  Allows you to format the target window of a form from the form's target property.  This allows for the use of window properties, variables, and other data manipulation to effect these options.  Great!</P><P CLASS="listingalign" align=right>[ <a href="form-target-formatting.html#source" /forms/form-target-formatting.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Form_Totals" href="form-totals.html" /forms/form-totals.html">Form Totals</a><br><b>Contributor:</b>  <a href="mailto:irandd@aol.com">Paul DeBrino</a>  (<a href="mailto:irandd@aol.com">irandd@aol.com</a>)<br><b>Details:</b> 2.56 KB * Uploaded October 10 2000<br><b>Description:</b>  Presents an order form with checkboxes and upates the total price as the user checks and unchecks boxes.  The visitor also cannot change the total field.  Currently only supports selecting one of each item.  More JavaScript forms available at <a href="javascript:if(confirm('http://members.aol.com/irandd/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://members.aol.com/irandd/'" tppabs="http://members.aol.com/irandd/">http://members.aol.com/irandd/</a>.</P><P CLASS="listingalign" align=right>[ <a href="form-totals.html#source" /forms/form-totals.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Format_Date" href="format-date.html" /forms/format-date.html">Format Date</a><br><b>Contributor:</b>  <a href="mailto:RichardG@spiritwolfx.com">Richard Gorremans</a>  (<a href="mailto:RichardG@spiritwolfx.com">RichardG@spiritwolfx.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.spiritwolfx.com/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.spiritwolfx.com/'" tppabs="http://www.spiritwolfx.com/">http://www.spiritwolfx.com/</a><br><b>Details:</b> 14.29 KB * Uploaded February 14 2001<br><b>Description:</b>  Automatically formats date fields as the user enters the information. Also validates the date when complete date has been entered. Cross browser compatible, including Netscape 6+. Great!</P><P CLASS="listingalign" align=right>[ <a href="format-date.html#source" /forms/format-date.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="HTML_Preview" href="html-preview.html" /forms/html-preview.html">HTML Preview</a><br><b>Contributor:</b>  <a href="mailto:nsabs@1nsyncfan.com">nsabs@1nsyncfan.com</a>  (<a href="mailto:nsabs@1nsyncfan.com">nsabs@1nsyncfan.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.envy.nu/gjelly  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.envy.nu/gjelly'" tppabs="http://www.envy.nu/gjelly">http://www.envy.nu/gjelly</a><br><b>Details:</b> 1.07 KB * Uploaded November 8 2000<br><b>Description:</b>  Preview HTML in a new window by entering it into the form.  This script allows you to pass anything to a new window.  Neat!</P><P CLASS="listingalign" align=right>[ <a href="html-preview.html#source" /forms/html-preview.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Ignore_Spaces" href="ignore-spaces.html" /forms/ignore-spaces.html">Ignore Spaces</a><br><b>Contributor:</b>  <a href="mailto:mike_mcgrath@lineone.net">Mike McGrath</a>  (<a href="mailto:mike_mcgrath@lineone.net">mike_mcgrath@lineone.net</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://website.lineone.net/~mike_mcgrath  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://website.lineone.net/~mike_mcgrath'" tppabs="http://website.lineone.net/~mike_mcgrath">http://website.lineone.net/~mike_mcgrath</a><br><b>Details:</b> 1.30 KB * Uploaded November 19 1999<br><b>Description:</b>  Removes spaces from a string variable within a script or from user input into a text box.  Several different uses are shown on the script example page.</P><P CLASS="listingalign" align=right>[ <a href="ignore-spaces.html#source" /forms/ignore-spaces.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Initial_Caps" href="initial-caps.html" /forms/initial-caps.html">Initial Caps</a><br><b>Contributor:</b>  <a href="mailto:billy@technical-solutions.co.uk">William Humphreys</a>  (<a href="mailto:billy@technical-solutions.co.uk">billy@technical-solutions.co.uk</a>)<br><b>Details:</b> 1.54 KB * Uploaded January 4 2000<br><b>Description:</b>  Converts the first letter of each word in a string that the user enters to uppercase.  The remaining letters of each word are also changed to lowercase.  Very useful when a form requires a title to be submitted in Initial Caps.</P><P CLASS="listingalign" align=right>[ <a href="initial-caps.html#source" /forms/initial-caps.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="itemslist" href="items-list.html" /forms/items-list.html">Items List</a><BR><b>Details:</b> 1.30 KB * Uploaded August 4 1997<br><b>Description:</b>  Javascript can remember a list of several items you enter.  Just enter an item and click 'Add to List'.  When you are finished, click 'Show List' to see the entries.</P><P CLASS="listingalign" align=right>[ <a href="items-list.html#source" /forms/items-list.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Items_Popup_List" href="items-popup-list.html" /forms/items-popup-list.html">Items Popup List</a><br><b>Contributor:</b>  <a href="mailto:pankajm@writeme.com">Pankaj Mittal</a>  (<a href="mailto:pankajm@writeme.com">pankajm@writeme.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.fortunecity.com/lavendar/lavender/21  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.fortunecity.com/lavendar/lavender/21'" tppabs="http://www.fortunecity.com/lavendar/lavender/21">http://www.fortunecity.com/lavendar/lavender/21</a><br><b>Details:</b> 5.27 KB * Uploaded May 10 2000<br><b>Description:</b>  If you have several items for the user to pick from, you may notice that your page can quickly becomes cluttered.  This script helps solve that problem by opening a new window when the user wants to add items to the list.  The new window displays the items and passes the selected item information back to the list in the main window.  Slick!</P><P CLASS="listingalign" align=right>[ <a href="items-popup-list.html#source" /forms/items-popup-list.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Limit_Textarea" href="limit-textarea.html" /forms/limit-textarea.html">Limit Textarea</a><br><b>Contributor:</b>  Ronnie T. Moore, Editor  <br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://javascript.internet.com/forms/JavaScript Source Code 2002  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://javascript.internet.com/forms/JavaScript Source Code 2002'" /forms/JavaScript Source Code 2002">JavaScript Source Code 2002</a><br><b>Details:</b> 1.37 KB * Uploaded May 22 2000<br><b>Description:</b>  This script controls a maximum textarea input amount and updates a small counter with how many characters are left with each keystroke.  Dynamic fix now allows you to use this script in multiple textboxes on a page.  Easy!</P><P CLASS="listingalign" align=right>[ <a href="limit-textarea.html#source" /forms/limit-textarea.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Locked Textbox" href="locked-textbox.html" /forms/locked-textbox.html">Locked Textbox</a><br><b>Details:</b> 0.46 KB * Uploaded March 21 1999<br><b>Description:</b>  Prevent your visitors from modifying the value stored in a textbox (without using input type=hidden)  Just try to change the text in the box!  Amazingly, it's a short less than one line script!</P><P CLASS="listingalign" align=right>[ <a href="locked-textbox.html#source" /forms/locked-textbox.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Limit_Boxes" href="limit-boxes.html" /forms/limit-boxes.html">Limit Boxes</a><br><b>Contributor:</b>  <a href="mailto:brief@ix.netcom.com">Glenn Wang</a>  (<a href="mailto:brief@ix.netcom.com">brief@ix.netcom.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://capsule.bayside.net/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://capsule.bayside.net/'" tppabs="http://capsule.bayside.net/">http://capsule.bayside.net/</a><br><b>Details:</b> 1.56 KB * Uploaded January 28 2000<br><b>Description:</b>  Limits the number of checkboxes that the user is able to check on your site.  Ideal for situations when more than one selection is allowed up to a certain number overall.  If they select too many, they are notified of the maximum allowed and their last entry becomes unchecked.</P><P CLASS="listingalign" align=right>[ <a href="limit-boxes.html#source" /forms/limit-boxes.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Line_Wrapper" href="line-wrapper.html" /forms/line-wrapper.html">Line Wrapper</a><br><b>Details:</b> 2.35 KB * Uploaded September 30 1999<br><b>Description:</b>  Wraps entries in a textarea box to whatever number of characters per line you want.  For example, The script can automatically insert a return after each 50 spaces, so that the form contents you receive are more readable.  (The script does indifferently break lines in mid-word, a possible fix for the next version?)</P><P CLASS="listingalign" align=right>[ <a href="line-wrapper.html#source" /forms/line-wrapper.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="List_Chooser" href="list-chooser.html" /forms/list-chooser.html">List Chooser</a><br><b>Contributor:</b>  <a href="mailto:anand_raman@poboxes.com">Anand Raman</a>  (<a href="mailto:anand_raman@poboxes.com">anand_raman@poboxes.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.angelfire.com/ar/diduknow  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.angelfire.com/ar/diduknow'" tppabs="http://www.angelfire.com/ar/diduknow">http://www.angelfire.com/ar/diduknow</a><br><b>Details:</b> 4.83 KB * Uploaded October 18 1999<br><b>Description:</b>  The user can immediately locate what he has been searching for in the long options list just by typing.  With each character the user types in the text field, the available items listed are narrowed down (similar to a help file's index feature).  Clever!  (Start by entering an 'a' to narrow the list)</P><P CLASS="listingalign" align=right>[ <a href="list-chooser.html#source" /forms/list-chooser.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="mailsubject" href="mail-pick-subject.html" /forms/mail-pick-subject.html">Mail - Pick Subject</a><BR><b>Details:</b> 4.15 KB * Uploaded July 11 1997<br><b>Description:</b>  Use Javascript to help organize your visitor e-mail.  Visitors pick from several predetermined subjects the most appropriate subject for their e-mail.  Visitor are also prompted to reenter information for incomplete or invalid entries.  A cookie also records the visitor's name for future e-mails.</P><P CLASS="listingalign" align=right>[ <a href="mail-pick-subject.html#source" /forms/mail-pick-subject.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="mailinglist" href="mailing-list.html" /forms/mailing-list.html">Mailing List</a><BR><b>Details:</b> 4.56 KB * Uploaded July 11 1997<br><b>Description:</b>  Use Javascript to sign up visitors for your mailing list.  Once again, Javascript ensures that the visitors have filled out the form completely and correctly.  Visitors area also prompted to reenter any incomplete or invalid entries.</P><P CLASS="listingalign" align=right>[ <a href="mailing-list.html#source" /forms/mailing-list.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Max Entry" href="max-entry.html" /forms/max-entry.html">Max Entry</a><br><b>Details:</b> 1.00 KB * Uploaded March 31 1999<br><b>Description:</b>  Make sure your visitor doesn't exceed the maximum number of characters that you want to accept in a form.  Short too!</P><P CLASS="listingalign" align=right>[ <a href="max-entry.html#source" /forms/max-entry.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Money_Filter" href="money-filter.html" /forms/money-filter.html">Money Filter</a><br><b>Contributor:</b>  <a href="mailto:fred@gloryofgod.com">Fred Roberts</a>  (<a href="mailto:fred@gloryofgod.com">fred@gloryofgod.com</a>)<br><b>Details:</b> 0.89 KB * Uploaded March 10 2000<br><b>Description:</b>  Removes the dollar sign ($) and commas (,) from a a text box.  Useful if you require input of only numbers.  You may also modify the script to filter out whatever characters you want.</P><P CLASS="listingalign" align=right>[ <a href="money-filter.html#source" /forms/money-filter.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="multiple-mailer" href="multiple-mailer.html" /forms/multiple-mailer.html">Multiple Mailer</a><BR><B>Contributor:</B>  Jeff Kieke<BR><b>Details:</B> 1.78 KB * Uploaded July 3 1998<br><b>Description:</b>  JavaScript can help you send an e-mail to anyone on your "list".  Just use the pulldown menu to select a recipient, compose your message, and hit 'Send Message' to send it.  This too, is another good JavaScript example for all beginners to learn from.</P><P CLASS="listingalign" align=right>[ <a href="multiple-mailer.html#source" /forms/multiple-mailer.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Menu Swapper" href="menu-swapper.html" /forms/menu-swapper.html">Menu Swapper</a><br><b>Contributor:</b>  <a href="mailto:ifedotov@yahoo.com">Ilya Fedotov</a>  (<a href="mailto:ifedotov@yahoo.com">ifedotov@yahoo.com</a>)<br><b>Details:</b> 2.52 KB * Uploaded May 7 1999<br><b>Description:</b>  A clever way to move selected items from one list box to another using "<<" and ">>" direction buttons. It works like database field selection, supports selecting multiple items, and even can sort the moved item into the new list!</P><P CLASS="listingalign" align=right>[ <a href="menu-swapper.html#source" /forms/menu-swapper.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="newwindow" href="../navigation/new-window.html" /navigation/new-window.html">New Window</a><BR><b>Details:</b> 0.96 KB * Uploaded May 15 1998<br><b>Description:</b>  Do you have a link that you'd rather have open in a new window? This little script will do just that! You can even use a button or a text link to open the new window! Check out the example and see what you think!</P><P CLASS="listingalign" align=right>[ <a href="../navigation/new-window.html#source" /navigation/new-window.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="noentry" href="no-entry.html" /forms/no-entry.html">No Entry</a><br><b>Details:</b> 1.00 KB * Uploaded July 11 1997<br><b>Description:</b>  Use Javascript to ensure that visitors do not leave a form entry blank.</P><P CLASS="listingalign" align=right>[ <a href="no-entry.html#source" /forms/no-entry.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="nohtml" href="no-html.html" /forms/no-html.html">No HTML</a><br><b>Details:</b> 1.11 KB * Uploaded October 4 1998<br><b>Description:</b>  Use Javascript to ensure that visitors do not type in HTML entries.</P><P CLASS="listingalign" align=right>[ <a href="no-html.html#source" /forms/no-html.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Only_One_Field" href="only-one-field.html" /forms/only-one-field.html">Only One Field</a><br><b>Details:</b> 1.45 KB * Uploaded July 30 1999<br><b>Description:</b>  The visitor must fill in either one of two fields, their name or email address.  If they click in either box the other box's value is erased.  Ensures that when the form is submitted only one field contains a value.  Also contains validation that makes sure both fields are not empty.</P><P CLASS="listingalign" align=right>[ <a href="only-one-field.html#source" /forms/only-one-field.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Option_Search" href="option-search.html" /forms/option-search.html">Option Search</a><br><b>Contributor:</b>  <a href="mailto:darkoe@za.bynx.com">Darko Egersdorfer</a>  (<a href="mailto:darkoe@za.bynx.com">darkoe@za.bynx.com</a>)<br><b>Details:</b> 1.90 KB * Uploaded October 24 2000<br><b>Description:</b>  Allows you to jump to any value in a drop down list.  In our example, search for a value between 'a1' and 'a15'.  Saves time when it comes to navigating within long pull down menus.</P><P CLASS="listingalign" align=right>[ <a href="option-search.html#source" /forms/option-search.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Pass_Menu_(in_frames)" href="pass-menu-frames.html" /forms/pass-menu-frames.html">Pass Menu (in frames)</a><br><b>Contributor:</b>  Ronnie T. Moore, Editor  <br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://javascript.internet.com/forms/JavaScript Source Code 2002  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://javascript.internet.com/forms/JavaScript Source Code 2002'" /forms/JavaScript Source Code 2002">JavaScript Source Code 2002</a><br><b>Details:</b> 1.42 KB * Uploaded March 27 2000<br><b>Description:</b>  After the user selects an option in the pulldown menu in the left frame, JavaScript can pass that option's value into a text box in the right frame when the button is clicked.  Cool!</P><P CLASS="listingalign" align=right>[ <a href="pass-menu-frames.html#source" /forms/pass-menu-frames.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Pass_Textbox_(in_frames)" href="pass-textbox-frames.html" /forms/pass-textbox-frames.html">Pass Textbox (in frames)</a><br><b>Contributor:</b>  Ronnie T. Moore, Editor  <br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://javascript.internet.com/forms/JavaScript Source Code 2002  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://javascript.internet.com/forms/JavaScript Source Code 2002'" /forms/JavaScript Source Code 2002">JavaScript Source Code 2002</a><br><b>Details:</b> 1.38 KB * Uploaded March 24 2000<br><b>Description:</b>  Copies the text in a box in the left frame into a box in the right frame when the button is clicked.  A clever way to pass values in frames.</P><P CLASS="listingalign" align=right>[ <a href="pass-textbox-frames.html#source" /forms/pass-textbox-frames.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Passing_Values" href="passing-values.html" /forms/passing-values.html">Passing Values</a><br><b>Details:</b> 1.23 KB * Uploaded November 11 1999<br><b>Description:</b>  Here is a clever way of 'unwrapping' the contents of a form when passed from one page to the next.  This capability would be useful in many situations, such as passing the contents of a form to another page, retaining information about the current page for the rest of their visit, etc.  Great!</P><P CLASS="listingalign" align=right>[ <a href="passing-values-source.html#source" /forms/passing-values-source.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Password Verifier" href="password-verifier.html" /forms/password-verifier.html">Password Verifier</a><br><b>Contributor:</b>  <a href="mailto:carey.walker@citicorp.com">Carey Walker</a>  (<a href="mailto:carey.walker@citicorp.com">carey.walker@citicorp.com</a>)<br><b>Details:</b> 1.13 KB * Uploaded April 18 1999<br><b>Description:</b>  Keep your visitors from submitting their form until their "password" and "re-enter password" fields match, for verification purposes.  They get an error message telling them to re-enter the passwords if they do not match.</P><P CLASS="listingalign" align=right>[ <a href="password-verifier.html#source" /forms/password-verifier.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Popup_Picker" href="popup-picker.html" /forms/popup-picker.html">Popup Picker</a><br><b>Contributor:</b>  <a href="mailto:dharmamann@hotmail.com">Shawn A. Mann</a>  (<a href="mailto:dharmamann@hotmail.com">dharmamann@hotmail.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.laughingshaman.com/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.laughingshaman.com/'" tppabs="http://www.laughingshaman.com/">http://www.laughingshaman.com</a><br><b>Details:</b> 2.14 KB * Uploaded October 25 2000<br><b>Description:</b>  Select an item from the list and the selected value is passed to the form field of the original window, and the pop-up closes automatically.  Useful!</P><P CLASS="listingalign" align=right>[ <a href="popup-picker.html#source" /forms/popup-picker.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Quantity_Totals" href="quantity-totals.html" /forms/quantity-totals.html">Quantity Totals</a><br><b>Contributor:</b>  <a href="mailto:irandd@aol.com">Paul DeBrino</a>  (<a href="mailto:irandd@aol.com">irandd@aol.com</a>)<br><b>Details:</b> 3.96 KB * Uploaded November 30 2000<br><b>Description:</b>  (Best with Internet Explorer)  Update to our Form Totals Script.  Allows you to enter a quantity of each item selected and finds the total automatically.  More JavaScript forms available at <a href="javascript:if(confirm('http://members.aol.com/irandd/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://members.aol.com/irandd/'" tppabs="http://members.aol.com/irandd/">http://members.aol.com/irandd/</a>.  Great!</P><P CLASS="listingalign" align=right>[ <a href="quantity-totals.html#source" /forms/quantity-totals.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Radio_Totals" href="radio-totals.html" /forms/radio-totals.html">Radio Totals</a><br><b>Contributor:</b>  <a href="mailto:irandd@aol.com">Paul DeBrino</a>  (<a href="mailto:irandd@aol.com">irandd@aol.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://members.aol.com/irandd/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://members.aol.com/irandd/'" tppabs="http://members.aol.com/irandd/">http://members.aol.com/irandd/</a><br><b>Details:</b> 6.37 KB * Uploaded January 9 2001<br><b>Description:</b>  (Best with Internet Explorer) Select items in this totals form using checkboxes and radio buttons.  Netscape version available at <a href="javascript:if(confirm('http://members.aol.com/irandd/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://members.aol.com/irandd/'" tppabs="http://members.aol.com/irandd/">http://members.aol.com/irandd/</a>.</P><P CLASS="listingalign" align=right>[ <a href="radio-totals.html#source" /forms/radio-totals.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Remove_Returns" href="remove-returns.html" /forms/remove-returns.html">Remove Returns</a><br><b>Contributor:</b>  <a href="mailto:chicorama@usa.net">Ascii King</a>  (<a href="mailto:chicorama@usa.net">chicorama@usa.net</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.geocities.com/enchantedforest/2120  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.geocities.com/enchantedforest/2120'" tppabs="http://www.geocities.com/enchantedforest/2120">http://www.geocities.com/enchantedforest/2120</a><br><b>Details:</b> 1.41 KB * Uploaded June 20 2000<br><b>Description:</b>  Converts carriage returns in a string to the <BR> tag so that the input can be properly displayed in HTML.  Without the script, returns in an input field are not preserved when submitting in a form.  Useful for guestbooks or other times when a user's input must be preserved.</P><P CLASS="listingalign" align=right>[ <a href="remove-returns.html#source" /forms/remove-returns.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Replace_Characters" href="replace-characters.html" /forms/replace-characters.html">Replace Characters</a><br><b>Details:</b> 1.09 KB * Uploaded August 16 1999<br><b>Description:</b>  Replaces a character or multiple characters in a textbox when the visitor goes to the next field (or in this example, clicks the submit button).</P><P CLASS="listingalign" align=right>[ <a href="replace-characters.html#source" /forms/replace-characters.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Search_Box" href="search-box.html" /forms/search-box.html">Search Box</a><br><b>Contributor:</b>  <a href="mailto:blakethedog@woh.rr.com">blakethedog@woh.rr.com</a>  (<a href="mailto:blakethedog@woh.rr.com">blakethedog@woh.rr.com</a>)<br><b>Details:</b> 2.49 KB * Uploaded February 15 2001<br><b>Description:</b>  This JavaScript search form opens a seperate window where you can select from search engines such as Yahoo!, Excite, and more.  Awesome!</P><P CLASS="listingalign" align=right>[ <a href="search-box.html#source" /forms/search-box.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Select_All" href="select-all.html" /forms/select-all.html">Select All</a><br><b>Details:</b> 0.52 KB * Uploaded February 28 2001<br><b>Description:</b>  Select the text from any form with the click of a button, just as used on the JavaScript Source.  Easy!</P><P CLASS="listingalign" align=right>[ <a href="select-all.html#source" /forms/select-all.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Selection_Box" href="selection-box.html" /forms/selection-box.html">Selection Box</a><br><b>Contributor:</b>  <a href="mailto:Kathi.O'Shea@internet.com">Kathi O'Shea</a>  (<a href="mailto:Kathi.O'Shea@internet.com">Kathi.O'Shea@internet.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.web-savant.com/users/kathi/asp  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.web-savant.com/users/kathi/asp'" tppabs="http://www.web-savant.com/users/kathi/asp">http://www.web-savant.com/users/kathi/asp</a><br><b>Details:</b> 3.29 KB * Uploaded October 19 2000<br><b>Description:</b>  Copy items from one selection box to a second selection box. Selected item values are stored as a string for further manipulation, such as submitted through a form, an alert box, etc. Useful!</P><P CLASS="listingalign" align=right>[ <a href="selection-box.html#source" /forms/selection-box.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="sentencecaps" href="sentence-caps.html" /forms/sentence-caps.html">Sentence Caps</a><BR><b>Details:</b> 2.10 KB * Uploaded July 11 1997<br><b>Description:</b>  Use Javascript to convert entries to sentence caps.  Also, this script prevents jokers from typing in all caps.</P><P CLASS="listingalign" align=right>[ <a href="sentence-caps.html#source" /forms/sentence-caps.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="smutengine" href="smut-engine.html" /forms/smut-engine.html">Smut Engine</a><BR><b>Details:</b> 1.31 KB * Uploaded July 11 1997<br><b>Description:</b>  Use Javascript to ensure that forms submissions to do not contain words you don't want.  It can eliminate dirty words or competitors' names.</P><P CLASS="listingalign" align=right>[ <a href="smut-engine.html#source" /forms/smut-engine.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Spaces_to_Plus_Symbol" href="spaces-to-plus.html" /forms/spaces-to-plus.html">Spaces to Plus Symbol</a><br><b>Contributor:</b>  <a href="mailto:mike_mcgrath@lineone.net">Mike McGrath</a>  (<a href="mailto:mike_mcgrath@lineone.net">mike_mcgrath@lineone.net</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://website.lineone.net/~mike_mcgrath  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://website.lineone.net/~mike_mcgrath'" tppabs="http://website.lineone.net/~mike_mcgrath">http://website.lineone.net/~mike_mcgrath</a><br><b>Details:</b> 1.08 KB * Uploaded February 3 2000<br><b>Description:</b>  Replaces single or multiple spaces in a text box entry with plus (+) symbols.  Handy if your server's form processing or database management program requires this type of encrypted format.</P><P CLASS="listingalign" align=right>[ <a href="spaces-to-plus.html#source" /forms/spaces-to-plus.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Strip_Characters" href="strip-characters.html" /forms/strip-characters.html">Strip Characters</a><br><b>Contributor:</b>  <a href="mailto:ryan@waygate.com">Ryan A. Somma</a>  (<a href="mailto:ryan@waygate.com">ryan@waygate.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.waygate.com/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.waygate.com/'" tppabs="http://www.waygate.com/">http://www.waygate.com</a><br><b>Details:</b> 1.45 KB * Uploaded October 11 2000<br><b>Description:</b>  Strips the characters from an input string. You can change the characters you want removed from the string by changing one line of code.  Very useful!</P><P CLASS="listingalign" align=right>[ <a href="strip-characters.html#source" /forms/strip-characters.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Submit_Changer" href="submit-changer.html" /forms/submit-changer.html">Submit Changer</a><br><b>Contributor:</b>  Mike Fernandez  <br><b>Details:</b> 0.87 KB * Uploaded July 19 2000<br><b>Description:</b>  Changes the caption of the form's submit button while the form is being submitted.  This helps eliminate the confusion that can sometimes occur when a form takes quite a while to be processed by the server.</P><P CLASS="listingalign" align=right>[ <a href="submit-changer.html#source" /forms/submit-changer.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Submit_Link" href="submit-link.html" /forms/submit-link.html">Submit Link</a><br><b>Contributor:</b>  <a href="mailto:DAntonacci@codeave.com">D Antonacci</a>  (<a href="mailto:DAntonacci@codeave.com">DAntonacci@codeave.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.codeave.com/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.codeave.com/'" tppabs="http://www.codeave.com/">http://www.codeave.com</a><br><b>Details:</b> 0.39 KB * Uploaded February 22 2001<br><b>Description:</b>  Now you can easily use text or an image as a submit button!</P><P CLASS="listingalign" align=right>[ <a href="submit-link.html#source" /forms/submit-link.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Submit_Once" href="submit-once.html" /forms/submit-once.html">Submit Once</a><br><b>Details:</b> 2.05 KB * Uploaded July 6 1999<br><b>Description:</b>  Do you ever receive multiple copies of a single form submission?  Do your visitors click the submit button over and over, hoping it will hurry up the process?  Well, JavaScript can solve your problems!  The script will prevent the visitor from submitting the form after the first submission.  Basic field validation also included!  Great!</P><P CLASS="listingalign" align=right>[ <a href="submit-once.html#source" /forms/submit-once.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="suggestions" href="suggestions.html" /forms/suggestions.html">Suggestions</a><BR><b>Details:</b> 3.82 KB * Uploaded July 11 1997<br><b>Description:</b>  Use Javascript to allow visitors to send your feedback.</P><P CLASS="listingalign" align=right>[ <a href="suggestions.html#source" /forms/suggestions.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Tab_Key_Emulation" href="tab-key-emulation.html" /forms/tab-key-emulation.html">Tab Key Emulation</a><br><b>Contributor:</b>  Ronnie T. Moore, Editor  <br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://javascript.internet.com/forms/JavaScript Source Code 2002  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://javascript.internet.com/forms/JavaScript Source Code 2002'" /forms/JavaScript Source Code 2002">JavaScript Source Code 2002</a><br><b>Details:</b> 1.78 KB * Uploaded March 29 2000<br><b>Description:</b>  The tab key is no longer required to tab between fields.  The user can go to the next form field just by pressing the enter key instead of the tab key.  Useful with 10-key form input.  What a time saver!</P><P CLASS="listingalign" align=right>[ <a href="tab-key-emulation.html#source" /forms/tab-key-emulation.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Text_Cycler" href="text-cycler.html" /forms/text-cycler.html">Text Cycler</a><br><b>Contributor:</b>  <a href="mailto:wheresjim@hotmail.com">James Gough</a>  (<a href="mailto:wheresjim@hotmail.com">wheresjim@hotmail.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.esprinkles.com/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.esprinkles.com/'" tppabs="http://www.esprinkles.com/">http://www.esprinkles.com</a><br><b>Details:</b> 1.97 KB * Uploaded December 19 2000<br><b>Description:</b>  Use the Up and Down arrows while in the text box to cycle through your choices.  InternetExplorer users can go up and down through the list, Netscape users can only go down through the list.  Neat!</P><P CLASS="listingalign" align=right>[ <a href="text-cycler.html#source" /forms/text-cycler.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Text Reverser" href="text-reverser.html" /forms/text-reverser.html">Text Reverser</a><br><b>Details:</b> 0.88 KB * Uploaded May 31 1999<br><b>Description:</b>  JavaScript will take the contents of a box and reverse it!  If you entered 'hello' it will change the box to say 'olleh'.  This might be useful on your site in a form or just for fun.</P><P CLASS="listingalign" align=right>[ <a href="text-reverser.html#source" /forms/text-reverser.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Time_Out" href="time-out.html" /forms/time-out.html">Time Out</a><br><b>Contributor:</b>  <a href="mailto:sergio1@onebox.com">Sergio Mottura</a>  (<a href="mailto:sergio1@onebox.com">sergio1@onebox.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.bassprotips.com/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.bassprotips.com/'" tppabs="http://www.bassprotips.com/">http://www.bassprotips.com</a><br><b>Details:</b> 1.71 KB * Uploaded December 21 2000<br><b>Description:</b>  Limit the time allowed for form input with this short script.  Easy!</P><P CLASS="listingalign" align=right>[ <a href="time-out.html#source" /forms/time-out.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Trim_Leading_Spaces" href="trim-leading-spaces.html" /forms/trim-leading-spaces.html">Trim Leading Spaces</a><br><b>Details:</b> 0.61 KB * Uploaded September 17 1999<br><b>Description:</b>  A super-easy script which eliminates any extra leading spaces entered inside a textbox.  To check it out in action, try entering a few spaces before the text in the box.</P><P CLASS="listingalign" align=right>[ <a href="trim-leading-spaces.html#source" /forms/trim-leading-spaces.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Trim_Trailing_Spaces" href="trim-trailing-spaces.html" /forms/trim-trailing-spaces.html">Trim Trailing Spaces</a><br><b>Details:</b> 0.62 KB * Uploaded September 20 1999<br><b>Description:</b>  A super-easy script which eliminates any extra trailing spaces entered inside a textbox.  To check it out in action, try entering a few spaces after the text in the box.</P><P CLASS="listingalign" align=right>[ <a href="trim-trailing-spaces.html#source" /forms/trim-trailing-spaces.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Upload_Filter" href="upload-filter.html" /forms/upload-filter.html">Upload Filter</a><br><b>Contributor:</b>  ArjoGod, Shauna Merritt  <br><b>Details:</b> 1.55 KB * Uploaded September 25 2000<br><b>Description:</b>  Allowing visitors to upload files through web forms on your site is useful, but how do you limit the types of files they can upload?  This script only allows visitors to upload files that end with the file extensions you want, such as .gif and .jpg, etc.  Easy!</P><P CLASS="listingalign" align=right>[ <a href="upload-filter.html#source" /forms/upload-filter.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Validation" href="validation.html" /forms/validation.html">Validation</a><br><b>Details:</b> 1.94 KB * Uploaded July 11 1997<br><b>Description:</b>  Let Javascript help you receive feedback from your visitors.  The script also requires that all fields must be completed before the form is submitted.  Great!</P><P CLASS="listingalign" align=right>[ <a href="validation.html#source" /forms/validation.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Validation_(Character)" href="val-char.html" /forms/val-char.html">Validation (Character)</a><br><b>Contributor:</b>  <a href="mailto:miks80@yahoo.com">Mikhail Esteves</a>  (<a href="mailto:miks80@yahoo.com">miks80@yahoo.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.freebox.com/jackol  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.freebox.com/jackol'" tppabs="http://www.freebox.com/jackol">http://www.freebox.com/jackol</a><br><b>Details:</b> 1.72 KB * Uploaded January 15 2001<br><b>Description:</b>  Automatically removes specified characters from input box.  Good for fields that require only text/number inputs. Easily modified to accept only text or only numerals.</P><P CLASS="listingalign" align=right>[ <a href="val-char.html#source" /forms/val-char.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="email" href="val-cookie.html" /forms/val-cookie.html">Validation (Cookie)</a><BR><b>Details:</b> 2.71 KB * Uploaded July 11 1997<br><b>Description:</b>  Use Javascript to ensure that all elements of a form are properly filled out before mailing.</P><P CLASS="listingalign" align=right>[ <a href="val-cookie.html#source" /forms/val-cookie.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Credit_Card_Validation" href="val-credit-card.html" /forms/val-credit-card.html">Validation (Credit Card)</a><br><b>Contributor:</b>  <a href="mailto:tneohcb@pc.jaring.my">Simon Tneoh</a>  (<a href="mailto:tneohcb@pc.jaring.my">tneohcb@pc.jaring.my</a>)<br><b>Details:</b> 1.82 KB * Uploaded March 23 2000<br><b>Description:</b>  Determines if a credit card number is valid before the form is submitted by utilizing the LUHN formula.  Very simple, and does not require knowledge of the credit card type.  Does not check if the date is valid.  Ver useful for online order form validation.  Note:  Although this form does not capture your credit card information, if you do not feel comfortable entering your credit card number to test this script, please DO NOT !</P><P CLASS="listingalign" align=right>[ <a href="val-credit-card.html#source" /forms/val-credit-card.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Validation_(Date)" href="val-date.html" /forms/val-date.html">Validation (Date)</a><br><b>Contributor:</b>  <a href="mailto:welagenm@hotmail.com">Mike Welagen</a>  (<a href="mailto:welagenm@hotmail.com">welagenm@hotmail.com</a>)<br><b>Details:</b> 4.34 KB * Uploaded July 31 2000<br><b>Description:</b>  Dates are validated and formatted in your form.  Supports over a dozen different date formats, and formats the date properly in United States or European date formatting styles depending on how the script is configured.  A dateCheck function also is included if you wish to compare two dates.  Wow!</P><P CLASS="listingalign" align=right>[ <a href="val-date.html#source" /forms/val-date.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Validation_(Universal_Date)" href="validation-universal-date.html" /forms/validation-universal-date.html">Validation (Universal Date)</a><br><b>Contributor:</b>  <a href="mailto:stamhankar@hotmail.com">Sandeep Tamhankar</a>  (<a href="mailto:stamhankar@hotmail.com">stamhankar@hotmail.com</a>)<br><b>Details:</b> 15.74 KB * Uploaded March 1 2001<br><b>Description:</b>  Validate dates in your form using this universal script.  Will work with any date format and the code is fully commented for easy modification.  Great!</P><P CLASS="listingalign" align=right>[ <a href="validation-universal-date.html#source" /forms/validation-universal-date.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="guestbook" href="val-guestbook.html" /forms/val-guestbook.html">Validation (Guestbook)</a><BR><b>Details:</b> 5.95 KB * Uploaded July 11 1997<br><b>Description:</b>  Use Javascript to ensure that all elements of a form are properly filled out before mailing.</P><P CLASS="listingalign" align=right>[ <a href="val-guestbook.html#source" /forms/val-guestbook.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="information" href="val-info.html" /forms/val-info.html">Validation (Information)</a><BR><b>Details:</b> 1.16 KB * Uploaded July 11 1997<br><b>Description:</b>  Test the powers of  Javascript.  Watch as Javascript tells you if information about you is valid or not.</P><P CLASS="listingalign" align=right>[ <a href="val-info.html#source" /forms/val-info.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Validation_(IP_Address)" href="val-ip.html" /forms/val-ip.html">Validation (IP Address)</a><br><b>Contributor:</b>  Jay Bienvenu  <br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.bienvenu.net/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.bienvenu.net/'" tppabs="http://www.bienvenu.net/">http://www.bienvenu.net</a><br><b>Details:</b> 1.91 KB * Uploaded November 23 2000<br><b>Description:</b>  Verify the value of an IP address.  Check for special cases such as "0.0.0.0" and "255.255.255.255".  Cool!</P><P CLASS="listingalign" align=right>[ <a href="val-ip.html#source" /forms/val-ip.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Validation_(No_Alert)" href="val-no-alert.html" /forms/val-no-alert.html">Validation (No Alert)</a><br><b>Contributor:</b>  <a href="mailto:jbh@site-ations.com">Jeff Harding</a>  (<a href="mailto:jbh@site-ations.com">jbh@site-ations.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://www.site-ations.com/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://www.site-ations.com/'" tppabs="http://www.site-ations.com/">http://www.site-ations.com</a><br><b>Details:</b> 3.82 KB * Uploaded August 18 2000<br><b>Description:</b>  Stop displaying those annoying alert boxes with your JavaScript form validation.  This script uses images to display any error messages to the user, cool!</P><P CLASS="listingalign" align=right>[ <a href="val-no-alert.html#source" /forms/val-no-alert.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Validation_(Num._or_Chars)" href="val-num-or-char.html" /forms/val-num-or-char.html">Validation (Num. or Chars)</a><br><b>Details:</b> 1.13 KB * Uploaded July 19 1999<br><b>Description:</b>  Validates an input field to make sure that only a number or character is entered.  If you enter a number or a letter everything you can continue on.  But, try entering another value like an exclamation point (!), an ampersand (&), or a dollar sign ($) and see what happens.  It even highlights the incorrect entry field for you.  Nice!</P><P CLASS="listingalign" align=right>[ <a href="val-num-or-char.html#source" /forms/val-num-or-char.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Validation_(password)" href="val-pass.html" /forms/val-pass.html">Validation (password)</a><br><b>Contributor:</b>  <a href="mailto:rswift220@yahoo.com">Russ Swift</a>  (<a href="mailto:rswift220@yahoo.com">rswift220@yahoo.com</a>)<br><b>Details:</b> 1.98 KB * Uploaded February 2 2001<br><b>Description:</b>  This script works like our Password Verifier, however, it also checks for a minimum length and invalid characters.</P><P CLASS="listingalign" align=right>[ <a href="val-pass.html#source" /forms/val-pass.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="selection" href="val-selection.html" /forms/val-selection.html">Validation (Selection)</a><BR><b>Details:</b> 3.04 KB * Uploaded July 11 1997<br><b>Description:</b>  Use Javascript to ensure that visitors choose both a radio button and a checkbox.  Invalid submissions are cancelled.</P><P CLASS="listingalign" align=right>[ <a href="val-selection.html#source" /forms/val-selection.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Validation_(SSN)" href="val-ssn.html" /forms/val-ssn.html">Validation (SSN)</a><br><b>Contributor:</b>  <a href="mailto:stamhankar@hotmail.com">Sandeep V. Tamhankar</a>  (<a href="mailto:stamhankar@hotmail.com">stamhankar@hotmail.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://207.20.242.93/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://207.20.242.93/'" tppabs="http://207.20.242.93/">http://207.20.242.93</a><br><b>Details:</b> 1.54 KB * Uploaded November 17 2000<br><b>Description:</b>  Input the Social Security Number using either the 9 digit or NNN-NN-NNNN format.  The number ranges can be easily changed by the S.S.A, so this is not checked.</P><P CLASS="listingalign" align=right>[ <a href="val-ssn.html#source" /forms/val-ssn.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Time_Validation" href="val-time.html" /forms/val-time.html">Validation (Time)</a><br><b>Contributor:</b>  <a href="mailto:stamhankar@hotmail.com">Sandeep Tamhankar</a>  (<a href="mailto:stamhankar@hotmail.com">stamhankar@hotmail.com</a>)<br><b>Contributor URL:</b>&nbsp;<a href="javascript:if(confirm('http://207.20.242.93/  \n\nYou must be connected to the Internet to access this link.  \n\nDo you want to open it from the server?'))window.location='http://207.20.242.93/'" tppabs="http://207.20.242.93/">http://207.20.242.93</a><br><b>Details:</b> 1.92 KB * Uploaded February 21 2000<br><b>Description:</b>  This function verifies that a string is a valid time, in the form hh:mm:ss am/pm, where seconds are optional.  It accepts military time (hour between 0 and 23) as long as am/pm isn't specified.  It requires am/pm when the hour is less than or equal to 12.</P><P CLASS="listingalign" align=right>[ <a href="val-time.html#source" /forms/val-time.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Zip_Code_Validation" href="val-zip-code.html" /forms/val-zip-code.html">Validation (Zip Code)</a><br><b>Contributor:</b>  Brian Swalwell<br><b>Details:</b> 1.39 KB * Uploaded September 10 1999<br><b>Description:</b>  Ensure that your visitors enter a properly formatted 5 digit, or 5 digit+4 zip code.  The visitor is alerted if any information is invalid and asked to try again.  Cool!</P><P CLASS="listingalign" align=right>[ <a href="val-zip-code.html#source" /forms/val-zip-code.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Word_Count" href="word-count.html" /forms/word-count.html">Word Count</a><br><b>Contributor:</b>  Shawn Seley  <br><b>Details:</b> 1.94 KB * Uploaded January 3 2001<br><b>Description:</b>  Finally, an easy way to count the number of words that are entered into a form!</P><P CLASS="listingalign" align=right>[ <a href="word-count.html#source" /forms/word-count.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

<P CLASS="listingtxt">
<b>Title:</b> <a name="Zip_to_State" href="zip-to-state.html" /forms/zip-to-state.html">Zip to State</a><br><b>Contributor:</b>  <a href="mailto:jesusfreak@cyberdude.com">Daniel Dailey</a>  (<a href="mailto:jesusfreak@cyberdude.com">jesusfreak@cyberdude.com</a>)<br><b>Details:</b> 28.78 KB * Uploaded September 29 2000<br><b>Description:</b>  Enter your five digit zip code and press tab to have the script display your state automatically.  Piece of cake!</P><P CLASS="listingalign" align=right>[ <a href="zip-to-state.html#source" /forms/zip-to-state.html#source">Get Source Code</a> ]
<hr noshade size=5 class="listing"></P>

</FONT>
</CENTER>

</CENTER>
